Part Number Hot Search : 
RN2357 1N4148 74AHCT1 FC101 A5800 157M0 7FLITE39 TA124
Product Description
Full Text Search
 

To Download CY14E512Q Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  cy14c512q cy14b512q CY14E512Q 512-kbit (64 k 8) spi nvsram cypress semiconductor corporation ? 198 champion court ? san jose , ca 95134-1709 ? 408-943-2600 document #: 001-65267 rev. *b revised may 5, 2011 512-kbit (64 k 8) spi nvsram features 512-kbit nonvolatile static random access memory (nvsram) internally organized as 64 k 8 ? store to quantumtrap nonvolatile elements initiated automatically on power-down (autostore) or by using spi instruction (software store) or hsb pin (hardware store) ? recall to sram initiated on power-up (power-up recall) or by spi instruction (software recall) ? support automatic store on power-down with a small capacitor (except for cy14x512q1a) high reliability ? infinite read, write, and recall cycles ? 1million store cycles to quantumtrap ? data retention: 20 years at 85 ? c 40-mhz, and 104-mhz high-speed serial peripheral interface (spi) ? 40-mhz clock rate spi write a nd read with ze ro cycle delay ? 104-mhz clock rate spi write and spi read (with special fast read instructions) ? supports spi mode 0 (0,0) and mode 3 (1,1) spi access to special functions ? nonvolatile store/recall ? 8-byte serial number ? manufacturer id and product id ? sleep mode write protection ? hardware protection using write protect (wp ) pin ? software protection using write disable instruction ? software block protection for 1/4, 1/2, or entire array low power consumption ? average active current of 3 ma at 40 mhz operation ? average standby mode current of 150 ? a ? sleep mode current of 8 ? a industry standard configurations ? operating voltages: ? cy14c512q: v cc = 2.4 v to 2.6 v ? cy14b512q: v cc = 2.7 v to 3.6 v ? CY14E512Q: v cc = 4.5 v to 5.5 v ? industrial temperature ? 8- and 16-pin small outline integrated circuit (soic) package ? restriction of hazardous s ubstances (rohs) compliant functional overview the cypress cy14x512q combines a 512-kbit nvsram [1] with a nonvolatile element in each memory cell with serial spi interface. the memory is organized as 64 k words of 8 bits each. the embedded nonvolatile elements incorporate the quantumtrap technology, creating the world?s most reliable nonvolatile memory. the sram provides infinite read and write cycles, while the quantumtrap ce lls provide highly reliable nonvolatile storage of data. data transfers from sram to the nonvolatile elements (store operation) takes place automatically at power-down (except for cy14x512q1a). on power-up, data is restored to the sram from the nonvolatile memory (recall operation). you can also initiate the store and recall operations through spi instruction. configuration feature cy14x512q1a cy14x512q2a cy14x512q3a autostore no yes yes software store yes yes yes hardware store no no yes memory data & address control manufacture id/ product id spi control logic write protection instruction decoder power control block rdsn/wrsn/rdid serial number 8 x 8 quantrumtrap 64 k x 8 sram 64 k x 8 store si cs sck wp v cc v cap recall read/write status register wrsr/rdsr/wren store/recall/asenb/asdisb so sleep logic block diagram note 1. this device will be referred to as nvsram throughout the document. [+] feedback www..net
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 2 of 33 contents pinouts .............................................................................. 3 pin definitions .................................................................. 3 device operation .............................................................. 4 sram write ................................................................. 4 sram read ................................................................ 4 store operation ....................................................... 4 autostore operation .................................................... 5 software store operation ........................................ 5 hardware store and hsb pin operation ................. 5 recall operation ...................................................... 5 hardware recall (power-up) .................................. 6 software recall ....................................................... 6 disabling and enabling autostore ............................... 6 serial peripheral interface ............................................... 6 spi overview ............................................................... 6 spi modes ................................................................... 7 spi operating features .................................................... 8 power-up .................................................................... 8 power on reset .......................................................... 8 power-down ................................................................ 8 active power and standby power modes ................... 8 spi functional description .... ........... ........... ........... ......... 9 status register ............................................................... 10 read status register (rdsr) instruction ................. 10 fast read status register (fast_rdsr) instruction ......................................................................... 10 write status register (wrsr) instruction ................ 10 write protection and block protection ......................... 11 write enable (wren) instruction .............................. 11 write disable (wrdi) instruction .............................. 12 block protection ........................................................ 12 hardware write protection (wp) ............................... 12 memory access .............................................................. 13 read sequence (read) instruction .......................... 13 fast read sequence (fast_read) instruction ...... 13 write sequence (write) instru ction ............ ............ 13 nvsram special instructions ........................................ 15 software store (store) instruction ..................... 15 software recall (recall) instruction .................. 15 autostore enable (asenb) in struction .... ............ ..... 15 autostore disable (asdisb) instruction ................... 15 special instructions ....................................................... 16 sleep instruction ..................................................... 16 serial number ................................................................. 16 wrsn (serial number write) instruction .................. 16 rdsn (serial number read) instruction ................... 17 fast_rdsn (fast serial number read) instruction ......................................................................... 17 device id ......................................................................... 18 rdid (device id read) instru ction ........................... 18 fast_rdid (fast device id read) instruction ........ 19 hold pin operation ................................................. 19 best practices ................................................................. 20 maximum ratings ........................................................... 21 operating range ............................................................. 21 dc electrical characteristics ........................................ 21 data retention and endurance ..................................... 22 capacitance .................................................................... 22 thermal resistance ........................................................ 22 ac test conditions ........................................................ 23 ac switching characteristics ....................................... 24 autostore or power-up recall .................................. 25 software controlled store and recall cycles ...... 26 switching waveforms .................................................... 26 hardware store cycle ................................................. 27 ordering information ...................................................... 28 ordering code definitions ..... .................................... 28 package diagrams .......................................................... 29 acronyms ........................................................................ 31 document conventions ................................................. 31 units of measure ....................................................... 31 document history page ................................................ 32 sales, solutions, and legal information ...................... 33 worldwide sales and design s upport ......... .............. 33 products .................................................................... 33 psoc solutions ......................................................... 33 [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 3 of 33 pinouts figure 1. pin diagram - 8-pin soic [2, 3, 4] figure 2. pin diagram - 16-pin soic pin definitions pin name [2, 3, 4] i/o type description cs input chip select. activates the device when pulled low. driving this pin high puts the device in low power standby mode. sck input serial clock. runs at speeds up to a maximum of f sck . serial input is latched at the rising edge of this clock. serial output is driv en at the falling edge of the clock. si input serial input. pin for input of all spi instructions and data. so output serial output. pin for output of data through spi. wp input write protect. implements hard ware write protection in spi. hold input hold pin. suspends serial operation. hsb input/output hardware store busy: output: indicates busy status of nvsram when low. after each hardware and software store operation hsb is driven high for a short time (t hhhd ) with standard output high current and then a weak internal pull up resistor keeps this pin high (external pull up resistor connection optional). input: hardware store implemented by pulling this pin low externally. v cap power supply autostore capacitor. supplies power to the nvsram during power loss to store data from the sram to nonvolatile elements. if autostore is not n eeded, this pin must be left as no connect. it must never be connected to ground. nc no connect no connect: this pin is not connected to the die. v ss power supply ground v cc power supply power supply hold sck 1 2 3 4 5 cs 8 7 6 v cc si so wp to p vi e w not to scale cy14x512q1a v ss hold sck 1 2 3 4 5 cs 8 7 6 v cc si so to p vi e w not to scale cy14x512q2a v cap v ss nc v wp v cap 1 2 3 4 5 6 7 8 9 10 11 12 13 nc 16 15 14 v cc so si sck cs hsb nc nc nc hold nc to p vi e w not to scale ss cy14x512q3a notes 2. hsb pin is not available in 8-pin soic packages (cy14x512q1a/cy14x512q2a). 3. cy14x512q1a part does not have v cap pin and does not support autostore. 4. cy14x512q2a part does not have wp pin. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 4 of 33 device operation cy14x512q is a 512-kbit (spi) nvsram memory with a nonvolatile element in each memo ry cell. all the reads and writes to nvsram happen to the sram, which gives nvsram the unique capability to handle infinite writes to the memory. the data in sram is secured by a store sequence which transfers the data in parallel to the nonvolatile quantumtrap cells. a small capacitor (v cap ) is used to autostore the sram data in nonvolatile cells when power goes down providing power-down data security. the quantumtrap nonvolatile elements built in the reliable sonos technology make nvsram the ideal choice for secure data storage. the 512-kbit memory array is organized as 64 k words 8 bits. the memory can be accessed through a standard spi interface that enables very high clock sp eeds up to 40 mhz with zero cycle delay read and write cycles. this nvsram chip also supports 104 mhz spi access speed with a special instruction for read operation. this device supports spi modes 0 and 3 (cpol, cpha = 0, 0 and 1, 1) and operat es as spi slave. the device is enabled using the chip select ( cs ) pin and accessed through serial input (si), serial outp ut (so), and serial clock (sck) pins. this device provides the featur e for hardware and software write protection through the wp pin and wrdi instruction respectively along with mechanisms for block wr ite protection (1/4, 1/2, or full array) using bp0 and bp1 pins in the status register. further, the hold pin is used to suspend any serial communication without resetting the serial sequence. cy14x512q uses the standard spi opcodes for memory access. in addition to the general spi instructions for read and write, it provides four special instructions that allow access to four nvsram specific functi ons: store, recall, autostore disable (asdisb), and au tostore enable (asenb). the major benefit of nvsram over serial eeproms is that all reads and writes to nvsram are performed at the speed of spi bus with zero cycle delay. theref ore, no wait ti me is required after any of the memory accesses. the store and recall operations need finite time to complete and all memory accesses are inhibited during this time. while a store or recall operation is in progress, the busy status of the device is indicated by the hardware store busy (hsb ) pin and also reflected on the rdy bit of the status register. the device is available in three different pin configurations that enable you to choose a part which fits in best in their application. the feature summary is given in ta b l e 1 . sram write all writes to nvsram are carr ied out on the sram and do not use up any endurance cycles of the nonvolatile memory. this allows you to perform infinite write operations. a write cycle is performed through the write instruction. the write instruction is issued through the si pin of the nvsram and consists of the write opcode, two bytes of address, and one byte of data. write to nvsram is done at spi bus speed with zero cycle delay. the device allows burst mode writes to be performed through spi. this enables write operations on consecutive addresses without issuing a new write instruction. when the last address in memory is reached in burst mode, the address rolls over to 0x0000 and the device continues to write. the spi write cycle sequence is def ined explicitly in the memory access section of spi protocol description. sram read a read cycle is performed at the spi bus speed. the data is read out with zero cycle delay after the read instruction is executed. read instruction can be used upto 40 mhz clock speed. the read instruction is issued through the si pin of the nvsram and consists of the read opcode and two bytes of address. the data is read out on the so pin. a speed higher than 40 mhz (up to 104 mhz) requires fast_read instruction. the f ast_read instruction is issued through the si pin of the nv sram and consists of the fast_read opcode, two bytes of address, and one dummy byte. the data is read out on the so pin. this device allows burst mode reads to be performed through spi. this enables reads on consecutive addresses without issuing a new read instruction. when the last address in memory is reached in burst mode read, the address rolls over to 0x0000 and the device continues to read. the spi read cycle sequence is defined explicitly in the memory access section of spi protocol description. store operation store operation transfers the data from the sram to the nonvolatile quantumtrap cells. the device stores data to the nonvolatile cells using one of the three store operations: autostore, activated on device power-down; software store, activated by a store instruction; and hardware store, activated by the hsb . during the store cycle, an erase of the table 1. feature summary feature cy14x512q1a cy14x512q2a cy14x512q3a wp yes no yes v cap no yes yes hsb no no yes autostore no yes yes power-up recall yes yes yes hardware store no no yes software store yes yes yes [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 5 of 33 previous nonvolatile data is first performed, followed by a program of the nonvolatile elements. after a store cycle is initiated, read/write to cy14x512q is inhibited until the cycle is completed. the hsb signal or the rdy bit in the status register can be monitored by the system to detect if a store or software recall cycle is in progress. the busy status of nvsram is indicated by hsb being pulled low or rdy bit being set to ?1?. to avoid unnecessary nonvolatile stores, autostore and hardware store operations are ignored unless at least one write operation has taken place since the most recent store or recall cycle. however, softwa re initiated store cycles are performed regardless of whether a write operation has taken place. autostore operation the autostore operation is a unique feature of nvsram which automatically stores the sram data to quantumtrap cells during power-down. this store makes use of an external capacitor (v cap ) and enables the device to safely store the data in the nonvolatile memory when power goes down. during normal operation, the device draws current from v cc to charge the capacitor connected to the v cap pin. when the voltage on the v cc pin drops below v switch during power-down, the device inhibits all memo ry accesses to nvsram and automatically performs a conditional store operation using the charge from the v cap capacitor. the autostore operation is not initiated if no write cycle has be en performed since last recall. note if a capacitor is not connected to v cap pin, autostore must be disabled by issuing the autostore disable instruction ( autostore disable (asdisb) instruction on page 15 ). if autostore is enabled without a capacitor on the v cap pin, the device attempts an autostore operation without sufficient charge to complete the store. this will corrupt the data stored in nvsram, status register as well as the serial number and it will unlock the snl bit. to resume normal functionality, the wrsr instruction must be issued to update the nonvolatile bits bp0, bp1, and wpen in the status register. figure 3 shows the proper connection of the storage capacitor (v cap ) for autostore operation. refer to dc electrical characteristics on page 21 for the size of the v cap . note cy14x512q1a does not support autostore operation. you must perform software store operation by using the spi store instruction to secure the data. figure 3. autostore mode software store operation software store enables the user to trigger a store operation through a special spi instruction. store operation is initiated by executing store instruction i rrespective of whether a write has been performed since the last nv operation. a store cycle takes t store time to complete, during which all the memory accesses to nvsram are inhibited. the rdy bit of the status register or the hsb pin may be polled to find the ready or busy status of the nvsram. after the t store cycle time is completed, the sram is activated again for read and write operations. hardware store and hsb pin operation the hsb pin in cy14x512q3a is used to control and acknowledge store operations. if no store or recall is in progress, this pin can be used to request a hardware store cycle. when the hsb pin is driven low, nvsram conditionally initiates a store operation after t delay duration. a store cycle starts only if a write to the sram has been performed since the last store or recall cycle. reads and writes to the memory are inhibited for t store duration or as long as hsb pin is low. the hsb pin also acts as an open drain driver (internal 100 k ? weak pull up resistor) that is internally driven low to indicate a busy condition when the store (initiated by any means) is in progress. note after each hardware and software store operation hsb is driven high for a short time (t hhhd ) with standard output high current and then remains high by an internal 100 k ? pull up resistor. note for successful last data byte store, a hardware store should be initiated at least one clock cycle after the last data bit d0 is received. upon completion of the store operation, the nvsram memory access is inhibited for t lzhsb time after hsb pin returns high. the hsb pin must be left unconnected if not used. note cy14x512q1a/cy14x512q2a do not have hsb pin. rdy bit of the spi status register may be probed to determine the ready or busy status of nvsram. recall operation a recall operation transfers the data stored in the nonvolatile quantumtrap elements to the sram. a recall may be initiated in two ways: hardware recall, initiated on power-up and software recall, initiated by a spi recall instruction. internally, recall is a two step procedure. first, the sram data is cleared. next, the nonvolatile information is transferred into the sram cells. all memory accesses are inhibited while a recall cycle is in progress. the recall operation does not alter the data in the nonvolatile elements. 0.1 uf v cc 10 kohm v cap cs v cap v ss v cc [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 6 of 33 hardware recall (power-up) during power-up, when v cc crosses v switch , an automatic recall sequence is initiated, which transfers the content of nonvolatile memory on to the sram. the data would previously have been stored on the nonvolatile memory through a store sequence. a power-up recall cycle takes t fa time to complete and the memory access is disabled during this time. hsb pin is used to detect the ready status of the device. software recall software recall allows you to initiate a recall operation to restore the content of nonvolatile memory on to the sram. a software recall is issued by using the spi instruction for recall. a software recall takes t recall time to complete during which all memory accesses to nvsram are inhibited. the controller must provide sufficient delay for the recall operation to complete before issuing an y memory access instructions. disabling and enabling autostore if the application does not requir e the autostore fe ature, it can be disabled by using the asdisb instruction. if this is done, the nvsram does not perform a store operation at power-down. autostore can be re enabled by using the asenb instruction. however, these operations are not nonvolatile and if you need this setting to survive the po wer cycle, a store operation must be performed following autostore disable or enable operation. note cy14x512q2a/cy14x512q3a has autostore enabled from the factory. in cy14x512q1a, v cap pin is not present and autostore option is not available. the autostore enable and disable instructions to cy14x512q1a are ignored. note if autostore is disabled and v cap is not required, then the v cap pin must be left open. the v cap pin must never be connected to ground. the powe r-up recall operation cannot be disabled in any case. serial peripheral interface spi overview the spi is a four- pin interface with chip select (cs ), serial input (si), serial output (so), and serial clock (sck) pins. cy14x512q provides serial access to nvsram through spi interface. the spi bus on cy14x512q can run at speeds up to 104 mhz except read instruction. the spi is a synchronous serial interface which uses clock and data pins for memory access and supports multiple devices on the data bus. a device on spi bus is activated using the cs pin. the relationship between chip select, clock, and data is dictated by the spi mode. this device supports spi modes 0 and 3. in both these modes, data is clocke d into the nvsram on the rising edge of sck starting from the first rising edge after cs goes active. the spi protocol is controlled by opcodes. these opcodes specify the commands from the bus master to the slave device. after cs is activated the first byte transferred from the bus master is the opcode. followin g the opcode, any addresses and data are then transferred. the cs must go inactive after an operation is complete and before a new opcode can be issued. the commonly used terms used in spi protocol are given below: spi master the spi master device controls the operations on a spi bus. a spi bus may have only one master with one or more slave devices. all the slaves share the same spi bus lines and the master may select any of t he slave devices using the cs pin. all the operations must be initiated by the master activating a slave device by pulling the cs pin of the slave low. the master also generates the sck and all the data transmission on si and so lines are synchronized with this clock. spi slave the spi slave device is activated by the master through the chip select line. a slave device gets th e sck as an input from the spi master and all the communicat ion is synchronized with this clock. spi slave neve r initiates a communication on the spi bus and acts on the instruction from the master. cy14x512q operates as a spi slave and may share the spi bus with other spi slave devices. chip select (cs ) for selecting any slave device, the master needs to pull down the corresponding cs pin. any instructio n can be issued to a slave device only while the cs pin is low. when the device is not selected, data through the si pin is ignored and the serial output pin (so) remains in a high impedance state. note a new instruction must begin with the falling edge of cs . therefore, only one opcode can be issued for each active chip select cycle. serial clock (sck) serial clock is generated by the spi master and the communication is synchronized with this clock after cs goes low. cy14x512q enables spi modes 0 and 3 for data communication. in both these modes, the inputs are latched by the slave device on the rising edge of sck and outputs are issued on the falling edge. therefor e, the first rising edge of sck signifies the arrival of the first bi t (msb) of spi instruction on the si pin. further, all data inputs and outputs are synchronized with sck. data transmission - si/so spi data bus consists of two lines, si and so, for serial data communication. the si is also re ferred to as master out slave in (mosi) and so is referred to as master in slave out (miso). the master issues instructions to the slave through the si pin, while the slave responds through the so pin. multiple slave devices may share the si and so lines as described earlier. cy14x512q has two separate pins for si and so, which can be connected with the master as shown in figure 4 on page 7 . [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 7 of 33 most significant bit (msb) the spi protocol requires that the first bit to be transmitted is the most significant bit (msb). this is valid for both address and data transmission. the 512-kbit serial nvsram requires a 2-byte address for any read or write operation. serial opcode after the slave device is selected with cs going low, the first byte received is treated as the opcode for the intended operation. cy14x512q uses the standard opcodes for memory accesses. in addition to the memory accesses, it provides additional opcodes for the nvsram specific functions: store, recall, autostore enable, and autostore disable. refer to table 2 on page 9 for details. invalid opcode if an invalid opcode is received, the opcode is ignored and the device ignores any additional serial data on the si pin till the next falling edge of cs and the so pin remains tri-stated. status register cy14x512q has an 8-bit status register. the bits in the status register are used to configur e the spi bus. these bits are described in the table 4 on page 10 . spi modes cy14x512q may be driven by a microcontroller with its spi peripheral running in either of the following two modes: spi mode 0 (cpol=0, cpha=0) spi mode 3 (cpol=1, cpha=1) for both these modes, the input data is latched in on the rising edge of sck starting from the first rising edge after cs goes active. if the clock starts from a high state (in mode 3), the first rising edge after the clock toggles, is considered. the output data is available on the falling edge of sck. the two spi modes are shown in figure 5 and figure 6 . the status of clock when the bus mast er is in standby mode and not transferring data is: sck remains at 0 for mode 0 sck remains at 1 for mode 3 cpol and cpha bits must be set in the spi controller for either mode 0 or mode 3. the device detects the spi mode from the status of sck pin when the device is selected by bringing the cs pin low. if sck pin is low when the device is selected, spi mode 0 is assumed and if sck pin is high, it works in spi mode 3. figure 4. system configuration using spi nvsram cy14x512q cy14x512q ucontroller sck mosi miso si so o s i s k c ssck cs hold hold cs cs1 cs2 hold1 hold2 figure 5. spi mode 0 figure 6. spi mode 3 lsb msb 765432 10 cs sck si 0 1 2 3 4 5 6 7 cs sck si 765432 10 lsb msb 0 12 34 56 7 [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 8 of 33 spi operating features power-up power-up is defined as the condition when the power supply is turned on and v cc crosses vswitch voltage. during this time, the cs must be allowed to follow the v cc voltage. therefore, cs must be connected to v cc through a suitable pull up resistor. as a built in safety feature, cs is both edge sensitive and level sensitive. after power-up, the device is not selected until a falling edge is detected on cs . this ensures that cs must have been high, before going low to start the first operation. as described earlier, nvsram performs a power-up recall operation after power-up and therefore, all memory accesses are disabled for t fa duration after power-up. the hsb pin can be probed to check the ready/busy status of nvsram after power- up. power on reset a power on reset (por) circuit is included to prevent inadvertent writes. at power-up, the device does not respond to any instruction until the v cc reaches the por threshold voltage (v switch ). after v cc transitions the por threshold, the device is internally reset and performs an power-up recall operation. during power-up recall all device accesses are inhibited. the device is in the following state after por: deselected (after power-up, a falling edge is required on cs before any instructio ns are started). standby power mode not in the hold condition status register state: ? write enable (wen) bit is reset to ?0?. ? wpen, bp1, bp0 unchanged from previous store operation. the wpen, bp1, and bp0 bits of the status register are nonvolatile bits and remain unchanged from the previous store operation. before selecting and issuing instructions to the memory, a valid and stable v cc voltage must be applied. this voltage must remain valid until the end of the instruction transmission. power-down at power-down (continuous decay of v cc ), when v cc drops from the normal operating voltage and below the v switch threshold voltage, the device stops responding to any instruction sent to it. if a write cycle is in progress and the last data bit d0 has been received when the power goes down, it is allowed t delay time to complete the write. after this, all memory accesses are inhibited and a conditional autostore operation is performed (autostore is not performed if no writes have happened since the last recall cycle). this feature prevents inad vertent writes to nvsram from happening during power-down. however, to completely avoid the possibility of inadvertent writes during power-down, ensure that the device is deselected and is in standby power mode, and the cs follows the voltage applied on v cc . active power and standby power modes when cs is low, the device is selected and is in the active power mode. the device consumes i cc current, as specified in dc electrical characteristics on page 21 . when cs is high, the device is deselected and the device goes into the standby power mode after t sb time if a store or recall cycle is not in progress. if a store/recall cy cle is in progress, the device goes into the standby power mode after the store or recall cycle is completed. in the st andby power mode, the current drawn by the device drops to i sb . [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 9 of 33 spi functional description the cy14x512q uses an 8-bit inst ruction register . instructions and their opcodes are listed in ta b l e 2 . all instructions, addresses, and data are transf erred with the msb first and start with a high to low cs transition. there are, in all, 18 spi instructions which provide access to most of the functions in nvsram. further, the wp , hold and hsb pins provide additional functionality driven through hardware. the spi instructions are divid ed based on their functionality in the following types: ? status register control instructions: ? status register access: rdsr, fast_rdsr and wrsr instructions ? write protection and block protection: wren and wrdi instructions along with wp pin and wen, bp0, and bp1 bits ? sram read/write instructions ? memory access: read, fast_read and write instructions ? special nv instructions ? nvsram special instructions: store, recall, asenb, and asdisb ? special instructions ? sleep, wrsn, rdsn, fast_rdsn, rdid, fast_rdid table 2. instruction set instruction category instruction name opcode operation status register control instructions status register access rdsr 0000 0101 read status register fast_rdsr 0000 1001 fast status register read - spi clock >40 mhz wrsr 0000 0001 write status register write protection and block protection wren 0000 0110 set write enable latch wrdi 0000 0100 reset write enable latch sram read/write instructions memory access read 0000 0011 read data from memory array fast_read 0000 1011 fast read - spi clock >40 mhz write 0000 0010 write data to memory array special nv instructions nvsram special functions store 0011 1100 software store recall 0110 0000 software recall asenb 0101 1001 autostore enable asdisb 0001 1001 autostore disable special instructions sleep sleep 1011 1001 sleep mode enable serial number wrsn 1100 0010 write serial number rdsn 1100 0011 read serial number fast_rdsn 1100 1001 fast serial number read - spi clock > 40 mhz device id read rdid 1001 1111 read manufacturer jedec id and product id fast_rdid 1001 1001 fast manufacturer jedec id and product id read - spi clock > 40 mhz reserved - reserved - 0001 1110 [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 10 of 33 status register the status register bits are listed in table 3 . the status register consists of a ready bit (rdy ) and data protection bits bp1, bp0, wen, and wpen. the rdy bit can be polled to check the ready or busy status while a nvsram store or software recall cycle is in progress. the status register can be modified by wrsr instruction and read by rdsr or fast_rdsr instruction. however, only the wpen, bp1, and bp0 bits of the status register can be modified by using the wrsr instruction. the wrsr instruction has no effect on wen and rdy bits. the default value shipped from the factory for wen, bp0, bp1, bits 4 -5, snl and wpen is ?0?. snl (bit 6) of the status register is used to lock the serial number written using the wrsn instruction. the serial number can be written using the wrsn instruction multiple times while this bit is still '0'. when set to '1', this bit prevents any modification to the serial number. this bit is factory programmed to '0' and can only be written to once. after this bit is set to '1', it can never be cleared to '0'. read status register (rdsr) instruction the read status register instruction provides access to the status register at spi frequency up to 40 mhz. this instruction is used to probe the write enable status of the device or the ready status of the device. rdy bit is set by the device to 1 whenever a store or software recall cycle is in progress. the block protection and wpen bits indicate the extent of protection employed. this instruction is issued after the falling edge of cs using the opcode for rdsr. fast read status register (fast_rdsr) instruction the fast_rdsr instruction allows you to read the status register at a spi frequency above 40 mhz and up to 104 mhz (max).this instruction is used to probe the write enable status of the device or the ready status of the device. rdy bit is set by the device to 1 whenever a store or software recall cycle is in progress. the block protection and wpen bits indicate the extent of protection employed. this instruction is issued after the falling edge of cs using the opcode for rdsr followed by a dummy byte. write status register (wrsr) instruction the wrsr instruction enables th e user to write to the status register. however, this instruction cannot be used to modify bit 0 (rdy ), bit 1 (wen) and bits 4-5 . the bp0 and bp1 bits can be used to select one of four leve ls of block protection. further, wpen bit must be set to ?1? to enable the use of write protect (wp ) pin. wrsr instruction is a write inst ruction and needs writes to be enabled (wen bit set to ?1?) using the wren instruction before it is issued. the instruction is issued after the falling edge of cs using the opcode for wrsr followed by eight bits of data to be stored in the status register. wrsr instruction can be used to modify only bits 2, 3, 6 and 7 of the status register. note in cy14x512q, the values writ ten to status register are saved to nonvolatile memory only after a store operation. if autostore is disabled (or while using cy14x512q1a), any modifications to the status register must be secured by performing a software store operation. note cy14x512q2a does not have wp pin. any modification to bit 7 of the status register ha s no effect on the functionality of cy14x512q2a. table 3. status register format bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 wpen (0) snl (0) x (0) x (0 ) bp1 (0) bp0 (0) wen (0) rdy table 4. status register bit definition bit definition description bit 0 (rdy ) ready read only bit indicates the ready status of device to perform a memory access. this bit is set to ?1? by the device while a store or software recall cycle is in progress. bit 1 (wen) write enable wen indicates if the device is writ e enabled. this bit defaults to ?0? (disabled) on power-up. wen = '1' --> write enabled wen = '0' --> write disabled bit 2 (bp0) block protect bit ?0? used for block protection. for details see table 5 on page 12 . bit 3 (bp1) block protect bit ?1? used for block protection. for details see table 5 on page 12 . bit 4-5 don?t care these bits are non-writable and always return ?0? upon read. bit 6 (snl) serial number lock set to '1' for locking serial number bit 7 (wpen) write protect enable bit used for ena bling the function of write protect pin (wp ). for details see table 6 on page 12 . [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 11 of 33 write protection and block protection cy14x512q provides features for both software and hardware write protection using wrdi instruction and wp . additionally, this device also provides block protection mechanism through bp0 and bp1 pins of the status register. the write enable and disable stat us of the device is indicated by wen bit of the status register. the write instructions (wrsr write and wrsn) and nvsram special instruction (store, recall, asenb and asdisb) need the write to be enabled (wen bit = ?1?) before they can be issued. write enable (wren) instruction on power-up, the device is always in the write disable state. the following write, wrsr, wrsn, or nvsram special instruction must therefore be preceded by a wr ite enable instruction. if the device is not write enabled (wen = ?0?), it ignores the write instructions and returns to the standby state when cs is brought high. a new cs falling edge is required to re-initiate serial communication. the instruction is issued following the falling edge of cs . when this instruction is used, the wen bit of status register is set to ?1?. wen bit defaults to ?0? on power-up. note after completion of a write instruction (wrsr, write and wrsn) or nvsram special instruction (store, recall, asenb, and asdisb) instruction, we n bit is cleared to ?0?. this is done to provide protection from any inadvertent writes. figure 7. read status regi ster (rdsr) instruction timing figure 8. fast read status register (fast_rdsr) instruction timing figure 9. write status regi ster (wrsr) instruction timing cs sck so 01234567 si 0000 01 0 0 1 hi-z 012345 67 data lsb d0 d1 d2 d3 d4 d5 d6 msb d7 op-code cs sck so 01234567 si 0000 1 001 hi-z 8 9 10 11 12 13 14 15 0 data lsb d0 d1 d2 d3 d4 d5 d6 msb d7 x x x x x x x x dummy byte 012345 67 op-code cs sck so 0123 4567 si 0000000 1 msb lsb d2 d3 d7 hi-z 012345 67 opcode data in x x x x x [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 12 of 33 therefore, wren instructi on needs to be used before a new write instruction is issued. write disable (wrdi) instruction write disable instruction disables the write by clearing the wen bit to ?0? in order to protect the device against inadvertent writes. this instruction is issued following the falling edge of cs followed by opcode for wrdi instruction. the wen bit is cleared on the rising edge of cs following a wrdi instruction. block protection block protection is provided using the bp0 and bp1 pins of the status register. these bits can be set using wrsr instruction and probed using the rdsr instru ction. the nvsram is divided into four array segments. one-quarter, one-half, or all of the memory segments can be protected. any data within the protected segment is read only. table 5 shows the function of block protect bits. hardware write protection (wp ) the write protect pin (wp ) is used to provide hardware write protection. wp pin enables all normal read and write operations when held high. when the wp pin is brought low and wpen bit is ?1?, all write operations to the status register are inhibited. the hardware write protection function is blocked when the wpen bit is ?0?. this allows y ou to install the device in a system with the wp pin tied to ground, and still write to the status register. wp pin can be used along with wpen and block protect bits (bp1 and bp0) of the status register to inhibit writes to memory. when wp pin is low and wpen is set to ?1?, any modifications to the status register are dis abled. therefore, the memory is protected by setting the bp0 and bp1 bits and the wp pin inhibits any modification of the status register bits, providing hardware write protection. note wp going low when cs is still low has no effect on any of the ongoing write operations to the status register. note cy14x512q2a does not have wp pin and therefore does not provide hardware write protection. ta b l e 6 summarizes all the protection features of this device figure 10. wren instruction figure 11. wrdi instruction 0 00 00 1 10 cs sck si so hi-z 0 1 2 3 4 5 6 7 0 0 0 0 0 1 0 0 cs sck si so hi-z 0 1 2 3 4 5 6 7 5 wi i s ri i 1 0 0 0 0 none 1 (1/4) 0 1 0xc000-0xffff 2 (1/2) 1 0 0x8000-0xffff 3 (all) 1 1 0x0000-0xffff table 6. write protection operation wpen wp wen protected blocks unprotected blocks status register x x 0 protected protected protected 0 x 1 protected writable writable 1 low 1 protected writable protected 1 high 1 protected writable writable [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 13 of 33 memory access all memory accesses are done using the read and write instructions. these instructions cannot be used while a store or recall cycle is in progress. a store cycle in progress is indicated by the rdy bit of the status register and the hsb pin. read sequence (read) instruction the read operations on this device are performed by giving the instruction on the si pin and re ading the output on so pin. the following sequence needs to be followed for a read operation: after the cs line is pulled low to select a device, the read opcode is transmitted through the si line followed by two bytes of address. after the last address bit is transmitted on the si pin, the data (d7-d0) at the specific address is shifted out on the so line on the falling edge of sck starting with d7. any other data on si line after the last address bit is ignored. cy14x512q allows reads to be performed in bursts through spi which can be used to read consecutive addresses without issuing a new read instruction. if only one byte is to be read, the cs line must be driven high after one byte of data comes out. however, the read sequence may be continued by holding the cs line low and the address is automatically incremented and data continues to shift out on so pin. when the last data memory address (0xffff) is reached, the address rolls over to 0x0000 and the device continues to read. note the read instruction operates up to a maximum of 40 mhz spi frequency. fast read sequence (fast_read) instruction the fast_read instruction allows you to read memory at spi frequency above 40 mhz and up to 104 mhz (max). the host system must first select the device by driving cs low, the fast_read instruction is then written to si, followed by 2 address byte and then a dummy byte. from the subsequent falling edge of the sck, the data of the specific address is shifted out seri ally on the so line starting with msb. the first byte specified can be at any location. the device automatically increments to the next higher address after each byte of data is output. the entire memory array can therefore be read with a single fast_read instruction. when the highest address in the memory array is reached, address counter rolls over to start address 0x0000 and thus allowing the read sequence to continue indefinitely. the fast_read instruction is terminated by driving cs high at any time during data output. note fast_read instruction operates up to maximum of 104 mhz spi frequency. write sequence (write) instruction the write operations on this device are performed through the si pin. to perform a write operation, if the device is write disabled, then the device must first be write enabled through the wren instruction. when the writes are enabled (wen = ?1?), write instruction is issued after the falling edge of cs . a write instruction constitutes transmitting the write opcode on si line followed by two bytes of address and the data (d7-d0) which is to be written. cy14x512q enables writes to be performed in bursts through spi which can be used to writ e consecutive addresses without issuing a new write instruction. if only one byte is to be written, the cs line must be driven high after the d0 (lsb of data) is transmitted. however, if more bytes are to be written, cs line must be held low and address is incremented automatically. the following bytes on the si line are treated as data bytes and written in the successive addre sses. when the last data memory address (0xffff) is reached, the address rolls over to 0x0000 and the device continues to write. the wen bit is reset to ?0? on completion of a write sequence. note when a burst write reaches a protected block address, it continues the address increment into the protected space but does not write any data to the protected memory. if the address roll over takes the burst write to unprotected space, it resumes writes. the same operation is true if a burst write is initiated within a write protected block. figure 12. read instruction timing ~ ~ cs sck so 012345 67 0 7 6 5 4 3 2 1 12131415012345 67 msb lsb data si ~ ~ op-code 0000001 a15 a14 a13 a12 a11 a9 1 a10 a8 a3 a1 a2 a0 16-bit address msb lsb d0 d1 d2 d3 d4 d5 d6 d7 hi-z [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 14 of 33 figure 13. burst mode read instruction timing figure 14. fast read instruction timing figure 15. write instruction timing figure 16. burst mode write instruction timing cs sck so lsb si op-code 16-bit address msb lsb ~ ~ ~ ~ ~ ~ 01 2 3 456 7 0 7 6 5 4 3 2 1 12 13 14 15 01234567 01234567 0 7 0000 00 11 a10 a9 a8 a3 a2 a1 a0 d0 d1 d2 d3 d4 d5 d6 d7 data byte 1 data byte n msb lsb msb d0 d1 d2 d3 d4 d5 d6 d7 d0 d7 hi-z a11 a12 a13 a14 a15 cs sck so 012345 67 0 7 6 5 4 3 2 1 12 13 14 15 16 17 18 19 20 21 22 23 data si op-code 0000101 a15 a14 a13 a12 a11 a9 1 a10 a8 a3 a1 a2 a0 16-bit address msb lsb msb lsb d0 d1 d2 d3 d4 d5 d6 d7 012345 67 x x x x x x x x dummy byte hi-z cs sck so 01234 5 6 7 0 7 6 5 4 3 2 1 1213141501234567 msb lsb data d0 d1 d2 d3 d4 d5 d6 d7 si op-code 00 00001 a15 a14 a13 a11 a9 0 a10 a8 a3 a1 a2 a0 16-bit address msb lsb hi-z a12 cs sck so msb lsb si op-code 16-bit address msb lsb 01 234567 0 7 6 5 4 3 2 1 12 13 14 15 01 234567 01 234567 0 7 0 00000 10 a15 a14 a13 a12 a11 a10 a9 a8 a3 a2 a1 a0 hi-z data byte 1 data byte n d0 d1 d2 d3 d4 d5 d6 d7 d0 d1 d2 d3 d4 d5 d6 d7 d0 d7 [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 15 of 33 nvsram special instructions cy14x512q provides four spec ial instructions which enables access to the nvsram specific functions: store, recall, asdisb, and asenb. table 7 lists these instructions. software store (store) instruction when a store instruction is executed, nvsram performs a software store operation. the store operation is performed irrespective of whether a write has taken place since the last store or recall operation. to issue this instruction, the device must be write enabled (wen bit = ?1?). the instruction is per formed by transmitting the store opcode on the si pin following the falling edge of cs . the wen bit is cleared on the positive edge of cs following the store instruction. software recall (recall) instruction when a recall instruction is executed, nvsram performs a software recall operation. to is sue this instruction, the device must be write enabled (wen = ?1?). the instruction is performed by transmitting the recall opcode on the si pin following the falling edge of cs . the wen bit is cleared on the positive edge of cs following the recall instruction. autostore enable (asenb) instruction the autostore enable instruction enables the autostore on cy14x512q2a/cy14x512q3a. this setting is not nonvolatile and needs to be followed by a store sequence to survive the power cycle. to issue this instruction, the device must be write enabled (wen = ?1?). the instruction is pe rformed by transmitting the asenb opcode on the si pin following the falling edge of cs . the wen bit is cleared on the positive edge of cs following the asenb instruction. note if asdisb and asenb instru ctions are executed in cy14x512q2a/cy14x512q3a, the device is busy for the duration of software sequence processing time (t ss ). however, asdisb and asenb instructions have no effect on cy14x512q1a as autostore is internally disabled. autostore disable (asdisb) instruction autostore is enabled by default in cy14x512q2a/cy14x512q3a. the asdisb instruction disables the autostore. this setting is not nonvolatile and needs to be followed by a store seque nce to survive the power cycle. to issue this instruction, the device must be write enabled (wen = ?1?). the instruction is performed by transmitting the asdisb opcode on the si pin following the falling edge of cs . the wen bit is cleared on the positive edge of cs following the asdisb instruction. table 7. nvsram special instructions function name opcode operation store 0011 1100 software store recall 0110 0000 software recall asenb 0101 1001 autostore enable asdisb 0001 1001 autostore disable figure 17. software store operation figure 18. software recall operation 0 01 11 1 00 cs sck si so hi-z 0 12 34 56 7 0 1 1 0 0 0 0 0 cs sck si 0 1 2 3 4 5 6 7 so hi-z i 19 s oi i 20 s di oi 0 1 0 1 1 0 0 1 cs sck si so hi-z 0 12 34 56 7 0 00 11 0 01 cs sck si so hi-z 0 1 2 3 4 5 6 7 [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 16 of 33 special instructions sleep instruction sleep instruction puts the nvsram in a sleep mode. when the sleep instruction is issued and cs is brought high, the nvsram performs a store operation to secure the data to nonvolatile memory and then enters into sleep mode. the device starts consuming i zz current after t sleep time from the instance when sleep instruction is regi stered. the device is not accessible for normal operat ions after sleep instruction is issued. once in sleep mode, the sck and si pins are ignored and so is hi-z but device continues to monitor the cs pin. to wake the nvsram from the sleep mode, the device must be selected by toggling the cs pin from high to low . the device wakes up and is accessible for normal operations after t wake duration after a falling edge of cs pin is detected. note whenever nvsram enters into sleep mode, it initiates nonvolatile store cycle which results in an endurance cycle per sleep command execution. a store cycle starts only if a write to the sram has been performed since the last store or recall cycle. serial number the serial number is an 8 byte programmable memory space provided to you uniquely identify th is device. it ty pically consists of a two byte customer id, followed by five bytes of unique serial number and one byte of crc check. however, nvsram does not calculate the crc and it is up to the system designer to utilize the eight byte memory space in whatever manner desired. the default value for eight byte locations are set to ?0x00?. wrsn (serial number write) instruction the serial number can be written using the wrsn instruction. to write serial number the write must be enabled using the wren instruction. the wrsn instruction can be used in burst mode to write all the 8 bytes of serial number. the serial number is locked using the snl bit of the status register. once this bit is set to '1', no modification to the serial number is possible. after the snl bit is set to '1', using the wrsn instruction has no effect on the serial number. a store operation (autostore or software store) is required to store the serial number in nonvolatile memory. if autostore is disabled, you must perform a software store operation to secure and lock the serial number. if snl bit is set to ?1? and is not stored (autostore disabled), the snl bit and serial number defaults to ?0? at the next power cycle. if snl bit is set to ?1? and is stored, the snl bit can never be cleared to ?0?. this instruction requires the wen bit to be set before it can be executed. the wen bit is reset to '0' after completion of this instruction. figure 21. sleep mode entry 1 0 1 1 1 0 0 1 cs sck si so hi-z 0 1 2 3 4 5 6 7 t sleep figure 22. wrsn instruction ~ ~ cs sck so 01234 5 6 7 0 7 6 5 4 3 2 1 56 57 58 59 60 61 62 63 lsb d0 d1 d2 d3 d4 d5 d6 d7 si op-code 11 000010 8-byte serial number msb hi-z d7 d6 d5 d4 d3 d2 d1 d0 ~ ~ byte - 8 byte - 1 [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 17 of 33 rdsn (serial number read) instruction the serial number is read using rdsn instruction at spi frequency upto 40 mhz. a serial number read may be performed in burst mode to read all the eight bytes at once. after the last byte of serial number is read, the device does not loop back. rdsn instruction can be issued by shifting the op-code for rdsn in through the si pin of nvsram after cs goes low. this is followed by nvsram shifting out the eight bytes of serial number through the so pin. fast_rdsn (fast serial number read) instruction the fast_rdsn instruction is used to read serial number at spi frequency above 40 mhz and up to 104 mhz (max). a serial number read may be performed in burst mode to read all the eight bytes at once. after the last byte of serial number is read, the device does not loop back. fast_rdsn instruction can be issued by shifting the op-code for fast_rdsn in through the si pin of nvsram followed by dummy byte after cs goes low. this is followed by nvsram shifting out the eight bytes of serial number through the so pin. figure 23. rdsn instruction cs sck so 01234 5 6 7 si op-code 11 000011 ~ ~ lsb d0 d1 d2 d3 d4 d5 d6 d7 8-byte serial number msb d7 d6 d5 d4 d3 d2 d1 d0 byte - 8 byte - 1 0 7 6 5 4 3 2 1 56 57 58 59 60 61 62 63 hi-z figure 24. fast_rdsn instruction cs sck so 01234 5 6 7 si op-code 11 00100 1 ~ ~ lsb d0 d1 d2 d3 d4 d5 d6 d7 8-byte serial number msb d7 d6 d5 d4 d3 d2 d1 d0 byte - 8 byte - 1 0 7 6 5 4 3 2 1 56 57 58 59 60 61 62 63 x x x x x x x x dummy byte 8 9 10 11 12 13 14 15 hi-z [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 18 of 33 device id device id is 4-byte read only code identifying a type of product uniquely. this includes the product family code, configuration and density of the product. the device id is divided into four parts as shown in table 8 : 1. manufacturer id (11 bits) this is the jedec assigned manufacturer id for cypress. jedec assigns the manufacturer id in different banks. the first three bits of the manufacturer id represent the bank in which id is assigned. the next eight bits represent the manufacturer id. cypress?s manufacturer id is 0x 34 in bank 0. therefore the manufacturer id for all cypress nvsram products is: cypress id - 000_0011_0100 2. product id (14 bits) the product id is defined as shown in the table 8 3. density id (4 bits) the 4 bit density id is used as shown in table 8 for indicating the 512 kb density of the product. 4. die rev (3 bits) this is used to represent any major change in the design of the product. the initial setting of this is always 0x0. rdid (device id read) instruction this instruction is used to read the jedec assigned manufacturer id and product id of the device at spi frequency upto 40 mhz. this instruction can be used to identify a device on the bus. rdid instruction can be issued by shifting the op-code for rdid in through the si pin of nvsram after cs goes low. this is followed by nvsram shif ting out the four bytes of device id through the so pin. table 8. device id bits #of bits 31?21 (11 bits) 20?7 (14 bits) 6?3 (4 bits) 2?0 (3 bits) device manufacture id product id density id die rev cy14c512q1a 00000110100 00001000000001 0011 000 cy14c512q2a 00000110100 00001100000000 0011 000 cy14c512q3a 00000110100 00001100000001 0011 000 cy14b512q1a 00000110100 00001000010001 0011 000 cy14b512q2a 00000110100 00001100010000 0011 000 cy14b512q3a 00000110100 00001100010001 0011 000 CY14E512Q1a 00000110100 00001000100001 0011 000 CY14E512Q2a 00000110100 00001100100000 0011 000 CY14E512Q3a 00000110100 00001100100001 0011 000 figure 25. rdid instruction 1 0 0 1 1 1 1 1 cs sck si so hi-z 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7 msb 4-byte device id d0 d1 d2 d3 d4 d5 d6 d7 d0 d1 d2 d3 d4 d5 d6 d7 d0 d1 d2 d3 d4 d5 d6 d7 lsb d0 d1 d2 d3 d4 d5 d6 d7 byte - 4 byte - 3 byte - 2 byte - 1 op-code [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 19 of 33 fast_rdid (fast device id read) instruction the fast_rdid instruction allows the user you to read the jedec assigned manufacturer id and product id at spi frequency above 40 mhz and up to 104 mhz (max). fast_rdid instruction can be issued by shifting the op-code for fast_rdid in through the si pin of nvsram followed by dummy byte after cs goes low. this is followed by nvsram shifting out the four bytes of device id through the so pin. hold pin operation the hold pin is used to pause the serial communication. when the device is selected and a serial sequence is underway, hold is used to pause the serial co mmunication with the master device without resetting the ongoing serial sequence. to pause, the hold pin must be brought low when the sck pin is low. to resume serial communication, the hold pin must be brought high when the sck pin is low (sck may toggle during hold ). while the device serial communication is paused, inputs to the si pin are ignored and the so pin is in the high impedance state. this pin can be used by the master with the cs pin to pause the serial communication by bringing the pin hold low and deselecting an spi slave to establish communication with another slave device, without the serial communication being reset. the communication may be resumed at a later point by selecting the device and setting the hold pin high. figure 26. fast_rdid instruction 1 0 0 1 1 0 0 1 cs sck si so hi-z 0 12 34 56 7 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 8 9 10 11 12 13 14 15 8 9 10 11 12 13 14 15 msb 4-byte device id d0 d1 d2 d3 d4 d5 d6 d7 d0 d1 d2 d3 d4 d5 d6 d7 d0 d1 d2 d3 d4 d5 d6 d7 lsb d0 d1 d2 d3 d4 d5 d6 d7 byte - 4 byte - 3 byte - 2 byte - 1 x x x x x x x x dummy byte 24 25 26 27 28 29 30 31 op-code figure 27. hold operation ~ ~ ~ ~ cs sck hold so [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 20 of 33 best practices nvsram products have been used effectively for over 26 years. while ease-of-use is one of t he product?s main system values, experience gained working with hundreds of applications has resulted in the following suggestions as best practices: the nonvolatile cells in this nvsram product are delivered by cypress with 0x00 written in all cells. incoming inspection routines at customer or c ontract manufacturer?s sites sometimes reprogram these values. final nv patterns are typically repeating patterns of aa, 55, 00, ff, a5, or 5a. end product?s firmware should not assume an nv array is in a set programmed state. routines that check memory content values to determine first time system configuration, cold or warm boot status, and so on should always program a unique nv pattern (that is, complex 4-byte pattern of 46 e6 49 53 hex or more random bytes) as part of the final system manufacturing test to ensure these system routines work consistently. power-up boot firmware routines should rewrite the nvsram into the desired state (for example, autostore enabled). while the nvsram is shipped in a pres et state, best practice is to again rewrite the nvsram into the desired state as a safeguard against events that might flip the bit inadvertently such as program bugs and incoming inspection routines. the v cap value specified in this data sheet includes a minimum and a maximum value size. best practice is to meet this requirement and not exceed the maximum v cap value because the nvsram internal algorithm calculates v cap charge and discharge time based on this max v cap value. customers that want to use a larger v cap value to make sure there is extra store charge and store time should discuss their v cap size selection. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 21 of 33 maximum ratings exceeding maximum ratings may shorten the useful life of the device. these user guidelines are not tested. storage temperature ..... ............ ............... ?65 ? c to +150 ? c maximum accumulated storage time at 150 ? c ambient temperature ....................... 1000 h at 85 ? c ambient temperature ..................... 20 years ambient temperature with power applied ..... .............. .............. .......... ?55 ? c to +150 ? c supply voltage on v cc relative to v ss cy14c512q: v cc = 2.4 v to 2.6 v ....?0.5 v to +3.1 v cy14b512q: v cc = 2.7 v to 3.6 v ....?0.5 v to +4.1 v CY14E512Q: v cc = 4.5 v to 5.5 v ....?0.5 v to +7.0 v dc voltage applied to outputs in high-z state ..................................... ?0.5 v to v cc + 0.5 v input voltage ........................................ ?0.5 v to v cc + 0.5 v transient voltage (<20 ns) on any pin to ground potential . ............ ..... ?2.0 v to v cc + 2.0 v package power dissipation capability (t a = 25 c) .................................................. 1.0 w surface mount lead soldering temperature (3 seconds) ......... .............. .............. ..... +260 ? c dc output current (1 output at a time, 1s duration) ..... 15 ma static discharge voltage.......................................... > 2001 v (per mil-std-883, method 3015) latch-up current .................................................... > 140 ma operating range device range ambient temperature v cc cy14c512q industrial ?40 ? c to +85 ? c 2.4 v to 2.6 v cy14b512q 2.7 v to 3.6 v CY14E512Q 4.5 v to 5.5 v dc electrical characteristics parameter description test conditions min typ [5] max unit v cc power supply cy14c512q 2.4 2.5 2.6 v cy14b512q 2.7 3.0 3.6 v CY14E512Q 4.5 5.0 5.5 v i cc1 average v cc current f sck = 40 mhz; values obtained without output loads (i out = 0 ma) cy14c512q ? ? 3 ma cy14b512q CY14E512Q ? ? 4 ma f sck = 104 mhz; values obtained without output loads (i out = 0 ma) ??10ma i cc2 average v cc current during store all inputs don?t care, v cc = max average current for duration t store ?? 2ma i cc3 average v cc current f sck = 1mhz; v cc = v cc (typ), 25 c all inputs cycling at cmos levels. values obtained without output loads (i out = 0 ma) ?? 1ma i cc4 average v cap current during autostore cycle all inputs don't care. average current for duration t store ?? 3ma i sb v cc standby current cs > (v cc ? 0.2 v). v in < 0.2 v or > (v cc ? 0.2 v). standby current level after nonvolatile cycle is complete. inputs are static. f sck = 0 mhz. ??150 ? a i zz sleep mode current t sleep time after sleep instru ction is registered. all inputs are static and configured at cmos logic level. ?? 8 ? a i ix [6] input leakage current (except hsb ) ?1 ? +1 ? a input leakage current (for hsb ) ?100 ? +1 ? a i oz off-state output leakage current ?1 ? +1 ? a notes 5. typical values are at 25 c, v cc = v cc (typ). not 100% tested. 6. the hsb pin has i out = -2 a for v oh of 2.4 v when both active high and low driv ers are disabled. when they are enabled standard v oh and v ol are valid. this parameter is characterized but not tested. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 22 of 33 v ih input high voltage cy14c512q 1.7 ? v cc + 0.5 v cy14b512q 2.0 ? v cc + 0.5 v CY14E512Q v il input low voltage cy14c512q v ss ? 0.5 ? 0.7 v cy14b512q v ss ? 0.5 ? 0.8 v CY14E512Q v oh output high voltage i out = ?1 ma cy14c512q 2.0 ? ? v i out = ?2 ma cy14b512q 2.4 ?? v CY14E512Q v ol output low voltage i out = 2 ma cy14c512q ? ? 0.4 v i out = 4 ma cy14b512q ?? 0.4 v CY14E512Q v cap storage capacitor between v cap pin and v ss cy14c512q 170 220 270 ? f cy14b512q 42 47 180 ? f CY14E512Q data retention and endurance parameter description min unit data r data retention 20 years nv c nonvolatile store operations 1,000 k capacitance parameter [7] description test conditions max unit c in input capacitance t a = 25 ? c, f = 1 mhz, v cc = v cc (typ) 7pf c out output pin capacitance 7 pf thermal resistance parameter [7] description test conditions 8-pin soic 16-pin soic unit ? ja thermal resistance (junction to ambient) test conditions follow standard test methods and procedures for measuring thermal impedance, per eia / jesd51. 101.08 56.68 ? c/w ? jc thermal resistance (junction to case) 37.86 32.11 ? c/w dc electrical characteristics (continued) parameter description test conditions min typ [5] max unit note 7. these parameters are guaranteed by design and are not tested. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 23 of 33 figure 28. ac test loads and waveforms for 2.5 v (cy14c512q): for 3 v (cy14b512q): for 5 v (CY14E512Q): 2.5 v output 5 pf r1 r2 1290 ? 2.5 v output 30 pf r1 r2 1290 ? 909 ? 909 ? for tri-state specs 3.0 v output 5 pf r1 r2 789 ? 3.0 v output 30 pf r1 r2 789 ? 577 ? 577 ? for tri-state specs 5.0 v output 5 pf r1 r2 512 ? 5.0 v output 30 pf r1 r2 512 ? 963 ? 963 ? for tri-state specs ac test conditions cy14c512q cy14b512q CY14E512Q input pulse levels 0 v to 2.5 v 0 v to 3 v 0 v to 3 v input rise and fall times (10% - 90%) < 3 ns < 3 ns < 3 ns input and output timing reference levels 1.25 v 1.5 v 1.5 v [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 24 of 33 ac switching characteristics cypress parameter alt. parameter description 40 mhz 104 mhz unit min max min max f sck f sck clock frequency, sck ? 40 ? 104 mhz t cl [8] t wl clock pulse width low 11 ? 4.5 ? ns t ch [8] t wh clock pulse width high 11 ? 4.5 ? ns t cs t ce cs high time 20?20?ns t css t ces cs setup time 10 ? 5 ? ns t csh t ceh cs hold time 10 ? 5 ? ns t sd t su data in setup time 5?4?ns t hd t h data in hold time 5?3?ns t hh t hd hold hold time 5?3?ns t sh t cd hold setup time 5?3?ns t co t v output valid ?9?8ns t hhz [8] t hz hold to output high z ? 15 ? 8 ns t hlz [8] t lz hold to output low z ? 15 ? 8 ns t oh t ho output hold time 0?0?ns t hzcs [8] t dis output disable time ? 20 ? 8 ns figure 29. synchronous data timing (mode 0) figure 30. hold timing hi-z valid in hi-z cs sck si so t cl t ch t css t sd t hd t co t oh t cs t csh t hzcs ~ ~ cs sck hold so t sh t hhz t hlz t hh t sh t hh note 8. these parameters are guaranteed by design and are not tested. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 25 of 33 autostore or power-up recall parameter description cy14x512q unit min max t fa [9] power-up recall duration cy14c512q ? 40 ms cy14b512q ? 20 ms CY14E512Q ? 20 ms t store [10] store cycle duration ? 8ms t delay [11] time allowed to complete sram write cycle ? 25 ns v switch low voltage trigger level cy14c512q ? 2.35 v cy14b512q ? 2.65 v CY14E512Q ? 4.40 v t vccrise [12] v cc rise time 150 ? ? s v hdis [12] hsb output disable voltage ? 1.9 v t lzhsb [12] hsb high to nvsram active time ? 5 ? s t hhhd [12] hsb high active time ? 500 ns t wake time for nvsram to wake up from sleep mode cy14c512q ? 40 ms cy14b512q ? 20 ms CY14E512Q ? 20 ms t sleep time to enter sleep mode afte r issuing sleep instruction ? 8 ms t sb time to enter into standby mode after cs going high ? 100 s switching waveforms figure 31. autostor e or power-up recall [13] v switch v hdis t vccrise t store t store t hhhd t hhhd t delay t delay t lzhsb t lzhsb t fa t fa hsb out autostore power- up recall read & write inhibited (rwi) power-up recall read & write brown out autostore power-up recall read & write power down autostore note note note note v cc 14 14 10 10 notes 9. t fa starts from the time v cc rises above v switch. 10. if an sram write has not taken place si nce the last nonvolatile cycle, autostore or hardware store is not initiated. 11. on a hardware store, software store / recall, autostore enable / disable and autostore initiation, sram operation continues to be enabled for time t delay . 12. these parameters are guaranteed by design and are not tested. 13. read and write cycles are ignored during store, recall, and while v cc is below v switch. 14. during power-up and power-down, hsb glitches when hsb pin is pulled up through an external resistor. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 26 of 33 software controlled store and recall cycles parameter description cy14x512q unit min max t recall recall duration ? 600 ? s t ss [15, 16] soft sequence processing time ? 500 ? s switching waveforms figure 32. software store cycle [16] figure 33. software recall cycle [16] figure 34. autostore enable cycle f igure 35. autostore disable cycle 0 0 1 1 1 1 0 0 cs sck si rwi hi-z 0 1 2 3 4 5 6 7 rdy t store 0 11 00 0 00 cs sck si 0 1 2 3 4 5 6 7 rwi hi-z rdy t recall 0 1 0 1 1 0 0 1 cs sck si 0 12 34 56 7 rwi hi-z rdy t ss 0 00 11 0 01 sck si 0 1 2 3 4 5 6 7 rwi hi-z rdy cs t ss notes 15. this is the amount of time it takes to take action on a soft sequence command. vcc power must remain high to effectively reg ister command. 16. commands such as store and recall lock out i/o until operation is complete which further increases this time. see the specif ic command. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 27 of 33 hardware store cycle parameter description cy14c512q3a/cy14b512q3a/ CY14E512Q3a unit min max t phsb hardware store pulse width 15 ? ns switching waveforms figure 36. hardware store cycle [17] ~ ~ hsb (in) hsb (out) rwi hsb (in) hsb (out) rwi t hhhd t store t phsb t delay t lzhsb t delay t phsb hsb pin is driven high to v cc only by internal 100 k : resistor, hsb driver is disabled sram is disabled as long as hsb (in) is driven low. write latch not set write latch set ~ ~ ~ ~ ~ ~ note 17. if an sram write has not taken place since the last nonvol atile cycle, autostore or hardware store is not initiated. [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 28 of 33 ordering information ordering code package diagram package type operating range cy14b512q2a-sxit 51-8506 6 8-pin soic (with v cap ), 40 mhz industrial cy14b512q2a-sxi all these parts are pb-free. this table contains final informati on. contact your local cypress sales representative for availab ility of these parts. ordering code definitions option: t - tape & reel blank - std. density: 512 - 512 kb cypress cy 14 b 512 q 2 a - s 104 x i t 14 - nvsram package: sxp - 8 soic temperature: i - industrial (-40 to 85 c) q - serial (spi) nvsram die revision: blank - no rev a - 1 st rev sfp - 16 soic 1 - with wp 2 - with v cap 3 - with wp , v cap and hsb voltage: c - 2.5 v b - 3.0 v e - 5.0 v pb-free frequency: blank - 40 mhz 104 - 104 mhz [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 29 of 33 package diagrams figure 37. 8-pin (150 mil) soic, 51-85066 51-85066 *d [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 30 of 33 figure 38. 16-pin (300 mil) soic, 51-85022 package diagrams (continued) 51-85022 *c [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 31 of 33 acronyms document conventions units of measure acronym description nvsram nonvolatile static random access memory spi serial peripheral interface rohs restriction of hazardous substances i/o input/output cmos complementary metal oxide semiconductor soic small outline integrated circuit sonos silicon-oxide-ni tride-oxide-silicon cpha clock phase cpol clock polarity eeprom electrically erasable programmable read-only memory jedec joint electron devices engineering council crc cyclic redundancy check eia electronic industries alliance rwi read and write inhibited symbol unit of measure c degree celsius hz hertz kbit 1024 bits khz kilo hertz k ? kilo ohms ? a micro amperes ma milli amperes ? f micro farad mhz mega hertz ? s micro seconds ms milli seconds ns nano seconds pf pico farad v volts ? ohms w watts [+] feedback
cy14c512q cy14b512q CY14E512Q document #: 001-65267 rev. *b page 32 of 33 document history page document title: cy14c512q, cy14b512q, cy 14e512q 512-kbit (64 k 8) spi nvsram document number: 001-65267 rev. ecn no. orig. of change submission date description of change ** 3096371 gvch 12/08/2010 new datasheet *a 3204614 gvch 03/24/2011 updated autostore operation (description). updated hardware store and hsb pin operation (added more clarity on hsb pin operation). updated ta b l e 4 (definition of bit 4-5). updated dc electrical characteristics (added i cc1 parameter for 104 mhz frequency). updated autostore or power-up recall (t lzhsb parameter description). *b 3249424 gvch 05/05/2011 datasheet status c hanged from ?preliminary? to ?final? [+] feedback
document #: 001-65267 rev. *b revised may 5, 2011 page 33 of 33 all products and company names mentioned in this document may be the trademarks of their respective holders. cy14c512q cy14b512q CY14E512Q ? cypress semiconductor corporation, 2010-2011. the information contained herein is subject to change without notice. cypress s emiconductor corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a cypress product. nor does it convey or imply any license under patent or other rights. cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement wi th cypress. furthermore, cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. the inclusion of cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies cypress against all charges. any source code (software and/or firmware) is owned by cypress semiconductor corporation (cypress) and is protected by and subj ect to worldwide patent protection (united states and foreign), united states copyright laws and internatio nal treaty provisions. cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the cypress source code and derivative works for the sole purpose of creating custom software and or firmware in su pport of licensee product to be used only in conjunction with a cypress integrated circuit as specified in the applicable agreement. any reproduction, modification, translation, compilation, or repre sentation of this source code except as specified above is prohibited without the express written permission of cypress. disclaimer: cypress makes no warranty of any kind, express or implied, with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. cypress reserves the right to make changes without further notice to t he materials described herein. cypress does not assume any liability arising out of the application or use of any product or circuit described herein. cypress does not authori ze its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. the inclusion of cypress? prod uct in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies cypress against all charges. use may be limited by and subject to the applicable cypress software license agreement. sales, solutions, and legal information worldwide sales and design support cypress maintains a worldwide network of offices, solution center s, manufacturer?s representatives, and distributors. to find t he office closest to you, visit us at cypress locations . products automotive cypress.co m/go/automotive clocks & buffers cypress.com/go/clocks interface cypress. com/go/interface lighting & power control cypress.com/go/powerpsoc cypress.com/go/plc memory cypress.com/go/memory optical & image sensing cypress.com/go/image psoc cypress.com/go/psoc touch sensing cyp ress.com/go/touch usb controllers cypress.com/go/usb wireless/rf cypress.com/go/wireless psoc solutions psoc.cypress.com/solutions psoc 1 | psoc 3 | psoc 5 [+] feedback


▲Up To Search▲   

 
Price & Availability of CY14E512Q

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X